#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/3/11 14:51
# @Author  : LiShan
# @Email   : lishan_1997@126.com
# @File    : main.py
# @Note    : this is note
import sys
from PyQt5.QtCore import QCoreApplication, QTranslator, Qt
from PyQt5.QtWidgets import QApplication
from interface.window import MainWindow


if __name__ == '__main__':
    QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling)
    app = QApplication(sys.argv)
    trans = QTranslator()
    trans.load("zh_CN")
    app.installTranslator(trans)
    window = MainWindow()
    window.show()
    sys.exit(app.exec_())
